package bookpos.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.lang.String;
import java.lang.Double;
import java.lang.Integer;
import java.math.BigDecimal;

import javax.xml.soap.Text;

import java.sql.Blob;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import bookpos.dao.BookTypeDao;

import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 书本详情
 * @author onlineGenerator
 * @date 2015-04-15 23:05:27
 * @version V1.0   
 *
 */
@Entity
@Table(name = "bookpos_inventory", schema = "")
@SuppressWarnings("serial")
public class Inventory implements java.io.Serializable {
	/**主键*/
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name ="ID",nullable=false,length=11)
	private java.lang.Integer id;
	/**书本号*/
	private java.lang.Integer bid;
	/**书名*/
	private java.lang.String bname;
	/**书本号*/
	private java.lang.Integer quentity;
	public java.lang.Integer getId() {
		return id;
	}
	public void setId(java.lang.Integer id) {
		this.id = id;
	}
	public java.lang.Integer getBid() {
		return bid;
	}
	public void setBid(java.lang.Integer bid) {
		this.bid = bid;
	}
	public java.lang.Integer getQuentity() {
		return quentity;
	}
	public void setQuentity(java.lang.Integer quentity) {
		this.quentity = quentity;
	}
	public java.lang.String getBname() {
		return bname;
	}
	public void setBname(java.lang.String bname) {
		this.bname = bname;
	}

}
